package routers

import (
	"2302a-rk10/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})

	beego.Router("/add", &controllers.ShopController{}, "post:Add")

	beego.Router("/list", &controllers.ShopController{}, "post:List")

	beego.Router("/update", &controllers.ShopController{}, "post:Update")
}
